package dao;

import beans.NewsLabel;
import beans.Page;

import java.util.List;

public interface INewsLabelDao {
    public int selectAllCount(Integer parentId);

    public List<NewsLabel> selectCurrentPageNewsLabels(Page<NewsLabel> page) ;

    List<NewsLabel> selectParent();

    void dele(int deleId);

    NewsLabel selectById(int id);

    void updateById(NewsLabel newsLabel);

    void add(NewsLabel newsLabel);
}
